package com.xiaohua.api.domain;

    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;

import com.xiaohua.common.annotation.Excel;
    import com.xiaohua.common.core.domain.BaseEntity;
    import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * API凭证管理对象 xh_api_credentials
 *
 * @author 小花
 * @date 2025-03-27
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder

public class XhApiCredentials extends BaseEntity
        {
private static final long serialVersionUID = 1L;

        /** 主键ID */
        private Long id;

        /** API名称/标识 */
                @Excel(name = "API名称/标识" )
        private String apiName;

        /** API Key/AK */
                @Excel(name = "API Key/AK" )
        private String apiKey;

        /** API Secret/SK */
                @Excel(name = "API Secret/SK" )
        private String apiSecret;

        /** API Token */
                @Excel(name = "API Token" )
        private String apiToken;

        /** 过期时间 */
                @JsonFormat(pattern = "yyyy-MM-dd" )
                @Excel(name = "过期时间" , width = 30, dateFormat = "yyyy-MM-dd" )
        private Date expirationTime;


}
